package com.deer.wms.base.system.model.bill;

import com.deer.wms.common.core.service.QueryCriteria;
import lombok.Data;

import javax.persistence.Id;

@Data
public class MaterialDetailCriteria extends QueryCriteria {
    private Integer id;
    //缓存线
    private String materialBatchId;//托号
    private String materialId;//单晶编码
    private String specId;//单晶规格
    private String materialCategory;//单晶等级
    private String materialPN;//单晶PN型
    private String rareMetal;//掺杂剂
    private String resistance;//电阻率
    private Integer	brickLength;//单晶长度
    private Integer stockInLength;//入库单晶长度
    private Double  weight;//入库重量
    private Integer assemblyType;//拼棒类型
    private Integer diameter;//直径
    private Integer sideLength;//边长
    private String comment;//备注
    private String color;//颜色
    private Integer pid;
    private Integer state;
    private String startTime;
    private String opTime;//颜色
    private String endTime;
    private String station;
    private Integer result;
    private String carrierId;
    private String parentMaterialId;//单晶ID
    private Integer areaId;




    public MaterialDetailCriteria() {
    }

    public MaterialDetailCriteria(String materialBatchId, String carrierId, String parentMaterialId, String materialProduct, String materialQuality, String materialId, String specId) {
        this.materialBatchId = materialBatchId;
        this.materialId = materialId;
        this.specId = specId;
    }

    public MaterialDetailCriteria(String materialBatchId, String carrierId, String parentMaterialId, String materialProduct, String materialQuality, String materialId, String specId, String materialCategory, String materialPN, String rareMetal, String resistance, Integer brickLength, Integer stockInLength, Double weight, Integer assemblyType, Integer diameter, Integer sideLength, String comment, String color, Integer pid, Integer state, String startTime, String opTime, String endTime) {
        this.materialBatchId = materialBatchId;
        this.materialId = materialId;
        this.specId = specId;
        this.materialCategory = materialCategory;
        this.materialPN = materialPN;
        this.rareMetal = rareMetal;
        this.resistance = resistance;
        this.brickLength = brickLength;
        this.stockInLength = stockInLength;
        this.weight = weight;
        this.assemblyType = assemblyType;
        this.diameter = diameter;
        this.sideLength = sideLength;
        this.comment = comment;
        this.color = color;
        this.pid = pid;
        this.state = state;
        this.startTime = startTime;
        this.opTime = opTime;
        this.endTime = endTime;
    }

    public MaterialDetailCriteria(String materialBatchId, String materialId, String specId, String materialCategory, String materialPN, String rareMetal, String resistance, Integer brickLength, Integer stockInLength, Double weight, Integer assemblyType, Integer diameter, Integer sideLength, String comment, String color, Integer pid, Integer state, String startTime, String opTime, String endTime) {
        this.materialBatchId = materialBatchId;
        this.materialId = materialId;
        this.specId = specId;
        this.materialCategory = materialCategory;
        this.materialPN = materialPN;
        this.rareMetal = rareMetal;
        this.resistance = resistance;
        this.brickLength = brickLength;
        this.stockInLength = stockInLength;
        this.weight = weight;
        this.assemblyType = assemblyType;
        this.diameter = diameter;
        this.sideLength = sideLength;
        this.comment = comment;
        this.color = color;
        this.pid = pid;
        this.state = state;
        this.startTime = startTime;
        this.opTime = opTime;
        this.endTime = endTime;
    }
}
